function prepareSlideshow() {
	var slideshow = document.createElement("div");
	slideshow.setAttribute("id", "slideshow");
	var preview = document.createElement("img");
	preview.setAttribute("src", "img/meinv04.jpg");
	preview.setAttribute("alt", "building blocks of web design");
	preview.setAttribute("id", "preview");
	slideshow.appendChild(preview);
	var list = document.getElementById("linklist");
	insertAfter(slideshow,list);
	var links = list.getElementsByTagName("a");
	links[0].onmouseover = function() {
		moveElement("preview", 0, 0, 10);
	}
	links[1].onmouseover = function() {
		moveElement("preview", -353, 0, 10);
	}
	links[2].onmouseover = function() {
		moveElement("preview", -707, 0, 10);
	}
}

addLoadEvent(prepareSlideshow);